package org.itcast.travel.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Comment implements Serializable {
    private Integer id;

    private Integer userId;

    private Integer blogId;

    private Integer parentId;

    private Integer count;

    private String picture;



    private String content;


    private LocalDateTime createTime;

    private Integer topCommentId;

    List<Comment> list;


    private static final long serialVersionUID = 1L;

}